<include file="Public/head"/>
<body class="no-skin">
<include file="Public/header"/>
<script src="/Public/qwadmin/js/chinazone.js"></script>
<style type="text/css">
html,body{ height: 100%; width: 100%; position: relative; font-size:14px;}
.city{ margin:20px 200px; }
.selectbox{ height:50px; width:500px;}
.selectbox select{ height:30px; width:120px; margin-right:10px; line-height:30px;}
</style>
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
<script type="text/javascript">
window.onload=function(){
 //效果1 三级联动
 p='{$currentmenu.province}';
 c='{$currentmenu.city}';
 t='{$currentmenu.town}';
 citynemu=  new TbdCityChoice({id:"selectbox1",type:1,province:"请选择省份",city:"请选择市",town:"请选择县",names:["province","city","town"],
 changeend:function(p,c,t){
      ///选择后
 }}).init(p,c,t);
  
};
</script>

    <include file="Public/sidebar"/>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- #section:basics/content.breadcrumbs -->
            <include file="Public/breadcrumbs"/>

            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                <include file="Public/set"/>

                <!-- /section:settings.box -->
                <div class="row">
                    <div class="col-xs-12">
                        <!-- PAGE CONTENT BEGINS -->
                        <form class="form-horizontal" action="{:U('update')}" name="myfromSubmit" method="post">
                         
                            <div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label  control-label bolder blue" for="form-field-1"> 合作伙伴 </label>
                                <div class="col-sm-9">
                                    <input type="text" name="outname" id="outname" datatype="*" nullmsg="名称不能为空"  class="rcol-xs-10 col-sm-5"
                                           value="{$currentmenu.outname}">
                                </div>
                            </div>
                            
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label  control-label bolder blue" for="form-field-1"> 所在区域 </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">
                                    
                                </div>
                                   
                            </div>
							
							<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label control-label bolder blue" for="form-field-1"> 详细地址 </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">
                                    <input type="text" name="address" id="address"  value="{$currentmenu.address}" class="rcol-xs-10 col-sm-9"/>
                                </div>
                                   
                            </div>
							 <div class="space-4"></div>
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">账号：</label>
                                                <div class="col-xs-4 col-sm-4">
												 
												  <input type="text" name="username"  value="{$currentmenu.username}" class="rcol-xs-4 col-sm-4"/>
                                                </div>
												<label class="col-sm-1  control-label bolder blue inline">密码：</label>
                                                <div class="col-xs-4 col-sm-4 inline">
												   <input type="text" name="password"   value="{$currentmenu.passwd}" class="rcol-xs-4 col-sm-4"/>
												 
                                                </div>
									 
						    </div>
                           <div class="space-4"></div>
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">用户类型</label>
                                                <div class="col-xs-9 col-sm-9">
												 <foreach name="usertype" item="tr" key="k">
												<div class="radio inline">
													<label>
														<input name="usertype" type="radio" value={$k}  <if condition="$currentmenu.usertype eq $k">checked="true"</if> class="ace">
														<span class="lbl"> {$tr}</span>
													</label>
												</div>
                                                 </foreach>
												 
                                                </div>
									 
						    </div>
							 <div class="space-4"></div>
                            
                  
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">合作方式</label>
                                                <div class="col-xs-9 col-sm-9">

                                                
											<foreach name="hezuotype" item="tr" key="k"> 
												<div class="radio inline">
													<label>
														<input name="trade_type" type="radio" value="{$tr}" <if condition="$currentmenu.trade_type eq $tr">checked="true"</if> class="ace">
														<span class="lbl"> {$tr}</span>
													</label>
												</div>
                                             </foreach>
												 
                                                </div>
									 
						    </div>		
							
								 <div class="space-4"></div>
                            
                  
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">来源渠道{$currentmenu.channel_code}</label>
                                                <div class="col-xs-9 col-sm-9">
												<foreach name="fromtype" item="tr" key="k">
												<div class="radio inline">
													<label>
														<input name="channel_code" type="radio" value="{$tr}" class="ace"   <if condition="$currentmenu.channel_code eq $tr">checked="true"</if>>
														<span class="lbl"> {$tr}</span>
													</label>
												</div>
                                                 </foreach>
		
                                                </div>
									 
						    </div>		

 							 <div class="space-4"></div>
                            
                  
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">采购需求</label>
                                                <div class="col-xs-9 col-sm-9">
												<foreach name="requiretype" item="tr" key="k">
												
												<div class="radio inline">
													<label>
														<input name="requirement" type="radio" value="{$tr}" class="ace"  <if condition="$currentmenu.requirement eq $tr">checked="true"</if>>
														<span class="lbl">{$tr}</span>
													</label>
												</div>
                                               </foreach>
												
                                                </div>
									 
						    </div>	
				<div class="form-group">
                                <label class="col-sm-1 control-label control-label bolder blue" for="form-field-1"> 备注 </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">
                                    <textarea  name="demo" id="demo"  class="rcol-xs-10 col-sm-9" >{$currentmenu.demo}</textarea>
                                </div>
                                   
                  </div>							
                <div class="space-4"></div>
                            

<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label control-label bolder blue" for="form-field-1"> 联系人 </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">								
                                    <input type="text" name="user_name" id="contus" datatype="*" nullmsg="用户地址不能为空" value="{$currentmenu.linkman}"  class="rcol-xs-10 col-sm-9"/>
                                </div>
                                   
                            </div>
<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label control-label bolder blue" for="form-field-1"> 手机 </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">
								
                                    <input type="text" name="user_tel" id="address" datatype="m" value="{$currentmenu.phone}" class="rcol-xs-10 col-sm-9"/>
                                </div>
                                   
                            </div>
<div class="space-4"></div>
                            <div class="form-group">
                                <label class="col-sm-1 control-label control-label bolder blue" for="form-field-1"> QQ </label>
                                <div id="selectbox1" class="col-sm-9 selectbox">
								
                                    <input type="text" name="qqcode" id="qqcode" value="{$currentmenu.qqcode}" class="rcol-xs-10 col-sm-9"/>
                                </div>
                                   
                            </div>							
                <div class="space-4"></div>
				

                  
				           <div class="form-group">
												<label class="col-sm-1  control-label bolder blue">合作状态</label>
                                                <div class="col-xs-9 col-sm-9">
												<div class="radio inline">
													<label>
														<input name="status" type="radio" value=2 class="ace" <if condition="$currentmenu.status eq 2">checked="true"</if>>
														<span class="lbl"> 已签合同</span>
													</label>
												</div>

												<div class="radio inline">
													<label>
														<input name="status" type="radio" value=1 class="ace" <if condition="$currentmenu.status eq 1">checked="true"</if>>
														<span class="lbl"> 合作意向</span>
													</label>
												</div>

												<div class="radio inline">
													<label>
														<input name="status" type="radio" value=3 class="ace" <if condition="$currentmenu.status eq 3">checked="true"</if>>
														<span class="lbl"> 战略合作</span>
													</label>
												</div>
												
												
							 
									 
						    </div>	   </div>         
						
                       <div class="space-4"></div>
					   <div class="space-4"></div>
                            <input name="id" value="{$currentmenu.id}" type="hidden">
                            <div class="space-4"></div>
                            <div class="col-md-offset-2 col-md-9">
                                <button class="btn btn-info" type="submit">
                                    <i class="icon-ok bigger-110"></i>
                                    提交
                                </button>

                                &nbsp; &nbsp; &nbsp;
                                <button class="btn" type="reset">
                                    <i class="icon-undo bigger-110"></i>
                                    重置
                                </button>
                            </div>
                        </form>
                        <!-- PAGE CONTENT ENDS -->
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
  

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->

<script type="text/javascript">
    jQuery(function ($) {
      $('#exp_time').datepicker({
       
            dateFormat: 'yy-mm-dd',
              weekStart: 1,
            autoclose: true,
            todayBtn: 'linked',
     
            language: 'cn'
        });
    })
</script>

</body>
</html>
